@extends('layout.index')
@section('title','用户列表页')

@section('content')

	<span style="color:red">{{time()}}</span>
	<span style="color:blue">{{$username or '登录'}}</span>
	<span style="color:pink">
		@if($total == 70)
			I have one record
		@elseif ($total == 80)
			I have multiple records!
		@else
			I don't have any records!
		@endif			
	</span>
	<span>
		@for($i = 0;$i < 10;$i++)
			the current value is {{ $i }}
		@endfor	
	</span>
	<span style="color:#abcdef">
		@foreach ($users as $v)
			{{$v['username']}}
		@endforeach
	</span>

@endsection